﻿<controls:ChildWindow x:Class="FileUploader.Controls.UploadingModal"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="142" 
           Title="Uploading">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Vertical" >
            <ProgressBar  x:Name="UploadProgressBar" Width="300" Height="20" Margin="0,15,0,0" Minimum="0" Maximum="10000" Value="0"/>
            <StackPanel Orientation="Horizontal" Margin="40,5,5,5">
                <TextBlock Text="Uploading:" Margin="0,0,5,0" />
                <TextBlock x:Name="UploadingFile" Text="MyDocuments" />
            </StackPanel>
        </StackPanel>
        <StackPanel HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" Orientation="Horizontal">
            <Button x:Name="OkButton" Content="OK" Width="75" Height="23" Margin="0,0,7,0" />
            <Button x:Name="CancelButton" Content="Cancel" Width="75" Height="23"  />
        </StackPanel>
    </Grid>
</controls:ChildWindow>